package com.example.app.components.MyNavigationBar

import androidx.compose.foundation.interaction.MutableInteractionSource
import androidx.compose.foundation.layout.RowScope
import androidx.compose.material3.NavigationDrawerItem
import androidx.compose.material3.NavigationDrawerItemColors
import androidx.compose.material3.NavigationDrawerItemDefaults
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.material3.NavigationBarItem
import androidx.compose.material3.NavigationBarItemColors
import androidx.compose.material3.NavigationBarItemDefaults

@Composable
fun RowScope.MyNavigationBarItem(
        selected: Boolean,
        onClick: () -> Unit,
        icon: @Composable () -> Unit,
        modifier: Modifier = Modifier,
        enabled: Boolean = true,
        label: @Composable (() -> Unit)? = null,
        alwaysShowLabel: Boolean = true,
        colors: NavigationBarItemColors = NavigationBarItemDefaults.colors(),
        interactionSource: MutableInteractionSource? = null
) {
    NavigationBarItem(
        selected,
        onClick,
        icon,
        modifier,
        enabled,
        label,
        alwaysShowLabel,
        colors,
        interactionSource,
    )
}